﻿<?php
	
	include 'conexao.php';
	
	$nome  = $_POST['nome'];
	$email = $_POST['email'];
	
	$insert = "INSERT INTO funcionario nome,email VALUES('{$nome}','{$email}','i2u4g')";
	$query  = mysql_query($insert);
	if($query)
		echo 'ok';
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento sem título</title>
</head>

<body>
<form method="post" action="">
<input type="text" name="nome">
<input type="email" name="email">
<input type="submit">
</form>
</body>
</html>